import request, { HIDE_ERROR_PROP } from "@/utils/request";
export function login(data) {
	// 登录接口
	return request({
		url: "/python/login",
		method: "post",
		headers: { "content-type": "application/json;charset=UTF-8" },
		data: data || {},
	});
}

// 注册
export function getRegister(data) {
	return request({
		url: "/python/register",
		method: "post",
		headers: { "content-type": "application/json;charset=UTF-8" },
		data: data || {},
	});
}

// 重置密码
export function forget(data) {
	return request({
		url: "/python/modifyUsers",
		method: "post",
		headers: { "content-type": "application/json;charset=UTF-8" },
		data: data || {},
	});
}
